import yaml

f=open("../config/data.yaml",encoding="utf-8")
data = yaml.safe_load(f)
print(data)
a=data['hero']
print(type(a))
print(data['hero'])
print("=============")
print(data['heros'][0]['word'])